﻿
using System;
using System.Collections;
namespace MVCFoto.Model
{
	/// <summary>
	/// 照片
	/// </summary>
	public class PhotoInfo
	{
			private int m_photoid;
			private int m_albumid;
            private int m_userid;
			private string m_title= "";
			private string m_desc= "";
			private string m_photo= "";
			private DateTime m_createdate;
			private int m_views;
			private string m_exif_lng= "";
            private string m_exif_lat= "";
			private string m_exif_camera= "";
			private string m_exif_manufacturer= "";
            private string m_exif_datetime = "";
            private string m_exif_width = "";
            private string m_exif_height = "";
			private string m_exif_exposuretime= "";
			private string m_exif_fnumber= "";
			private string m_exif_focallength= "";
            private string m_exif_flash = "";
            private string m_exif_iso = "";
			private string m_exif_version= "";
            private int m_filesize = 0;
	
	
	#region 构造函数
		/// <summary>
		/// 构造函数
		/// </summary>
		public PhotoInfo()
		{
		
		}
	
	#endregion
	
	#region 属性

			/// <summary>
	/// 照片ID
	/// </summary>
	public int PhotoID
	{
		set{ this.m_photoid = value;}
		get{ return this.m_photoid;}
	}
    /// <summary>
    /// 
    /// </summary>
    public int UserId
    {
        set { this.m_userid = value; }
        get { return this.m_userid; }
    }
	/// <summary>
	/// 
	/// </summary>
	public int AlbumID
	{
		set{ this.m_albumid = value;}
		get{ return this.m_albumid;}
	}

			/// <summary>
	/// 
	/// </summary>
	public string Title
	{
		set{ this.m_title = value;}
		get{ return this.m_title;}
	}

			/// <summary>
	/// 
	/// </summary>
	public string Desc
	{
		set{ this.m_desc = value;}
		get{ return this.m_desc;}
	}

			/// <summary>
	/// 
	/// </summary>
	public string Photo
	{
		set{ this.m_photo = value;}
		get{ return this.m_photo;}
	}

			/// <summary>
	/// 
	/// </summary>
	public DateTime CreateDate
	{
		set{ this.m_createdate = value;}
		get{ return this.m_createdate;}
	}

			/// <summary>
	/// 
	/// </summary>
	public int Views
	{
		set{ this.m_views = value;}
		get{ return this.m_views;}
	}

			/// <summary>
	/// GPS 经度
	/// </summary>
    public string EXIF_Lng
	{
		set{ this.m_exif_lng = value;}
        get { return this.m_exif_lng; }
	}
    /// <summary>
    /// GPS 纬度
    /// </summary>
    public string EXIF_Lat
    {
        set { this.m_exif_lat = value; }
        get { return this.m_exif_lat; }
    }

			/// <summary>
	/// 相机型号
	/// </summary>
	public string EXIF_Camera
	{
		set{ this.m_exif_camera = value;}
		get{ return this.m_exif_camera;}
	}

			/// <summary>
	/// 
	/// </summary>
	public string EXIF_Manufacturer
	{
		set{ this.m_exif_manufacturer = value;}
		get{ return this.m_exif_manufacturer;}
	}

			/// <summary>
	/// 
	/// </summary>
    public string EXIF_DateTime
	{
		set{ this.m_exif_datetime = value;}
		get{ return this.m_exif_datetime;}
	}

			/// <summary>
	/// 
	/// </summary>
    public string EXIF_Width
	{
		set{ this.m_exif_width = value;}
		get{ return this.m_exif_width;}
	}

			/// <summary>
	/// 
	/// </summary>
    public string EXIF_Height
	{
		set{ this.m_exif_height = value;}
		get{ return this.m_exif_height;}
	}

			/// <summary>
	/// 曝光时间
	/// </summary>
	public string EXIF_ExposureTime
	{
		set{ this.m_exif_exposuretime = value;}
		get{ return this.m_exif_exposuretime;}
	}

			/// <summary>
	/// 光圈值
	/// </summary>
	public string EXIF_FNumber
	{
		set{ this.m_exif_fnumber = value;}
		get{ return this.m_exif_fnumber;}
	}

			/// <summary>
	/// 焦距
	/// </summary>
	public string EXIF_FocalLength
	{
		set{ this.m_exif_focallength = value;}
		get{ return this.m_exif_focallength;}
	}

			/// <summary>
	/// 闪光灯
	/// </summary>
    public string EXIF_Flash
	{
		set{ this.m_exif_flash = value;}
		get{ return this.m_exif_flash;}
	}

			/// <summary>
	/// 
	/// </summary>
    public string EXIF_ISO
	{
		set{ this.m_exif_iso = value;}
		get{ return this.m_exif_iso;}
	}

			/// <summary>
	/// 
	/// </summary>
	public string EXIF_Version
	{
		set{ this.m_exif_version = value;}
		get{ return this.m_exif_version;}
	}
        /// <summary>
        /// 旋转信息
        /// </summary>
    public ushort EXIF_Orientation
    {
        get;
        set;
    }

    public int FileSize
    {

        set { this.m_filesize = value; }
        get { return this.m_filesize; }
    }

	#endregion
}
}
